﻿@{    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.HomeIndexTitle;
      Layout = "~/Views/Shared/_Layout.cshtml";}
<h1 style="text-align: center;">@ViewBag.Title</h1>
@Html.Action("ShowOnPortail", "Annonce", new { area = "Forum" })
<section>
    <table style="border-spacing: 0;">
        <tbody>
            <tr>
                <td id="colleft">
                    @*TeamSpeak Viewer*@
                    <iframe src="http://cache.www.gametracker.com/components/html0/?host=109.239.145.121:26909&amp;bgColor=111111&amp;fontColor=fffffe&amp;titleBgColor=000000&amp;titleColor=fffffe&amp;borderColor=000000&amp;linkColor=00a100&amp;borderLinkColor=fffffe&amp;showMap=0&amp;currentPlayersHeight=750&amp;showCurrPlayers=1&amp;showTopPlayers=0&amp;showBlogs=0&amp;width=160" width="160" height="940" style="opacity: 0.90; border-radius: 8px;"></iframe>
                    @*No Cheat*@
                    <span>
                        <a href="http://www.pbbans.com/sig-allbans-ab8730.html" target="_blank" style="padding: 0; margin-bottom: 4px;">
                            <img id="NoCheat" src="#" width="160" title="Ce clan ne triche pas" alt="Ce clan ne triche pas" style="border-radius: 8px;" /></a>
                    </span>
                    @*Battlefield 4 statistics vertical*@
                    <span>
                        <iframe src="http://cache.www.gametracker.com/components/html0/?host=109.239.152.149:25200&bgColor=111111&fontColor=fffffe&titleBgColor=000000&titleColor=FFFFFF&borderColor=000000&linkColor00a100&borderLinkColor=fffffe&showMap=1&currentPlayersHeight=400&showCurrPlayers=1&topPlayersHeight=180&showTopPlayers=1&showBlogs=0&width=160" frameborder="0" scrolling="no" width="160" height="895"></iframe>
                    </span>
                </td>
                <td id="colmain">
                    @if (!Request.Browser.IsMobileDevice && !Request.ServerVariables["HTTP_USER_AGENT"].ToString().ToLower().Contains("midori"))
                    {
                        @Html.Partial("_ShoutBoxItem")                    
                    }
                    else
                    {
                        <h3 class="center">
                            @Html.ActionLink(CloudFranceTriple.WebRole.Properties.Resources.ShoutBoxTitle, "Index", "ShoutBox", new { area = "Portail" }, null)
                        </h3>
                        <br />
                        <br />
                    }
                    @Html.Action("ForumTopicItem", "Home", new { area = "" })
                    <section style="margin-top: 4px;">
                        <p class="center">
                            @*Battlefield 4 Statistics horizontal*@
                            <span>
                                <a href="http://www.gametracker.com/server_info/109.239.152.149:25200/" target="_blank">
                                    <img src="http://cache.www.gametracker.com/server_info/109.239.152.149:25200/b_560_95_1.png" border="0" width="560" height="95" alt="" />
                                </a>
                            </span>
                        </p>
                        <p class="center">
                            @*Teamspeak Statistics*@
                            <span>
                                <a href="http://www.gametracker.com/server_info/109.239.145.121:26909/" target="_blank">
                                    <img title="Serveur Teamspeak" src="http://cache.www.gametracker.com/server_info/109.239.145.121:26909/b_560_95_1.png" alt="Serveur Teamspeak" style="border-radius: 8px;" /></a>
                            </span>
                        </p>
                        <p class="center">
                            @*Norton Safe Web*@
                            <span>
                                <a href="http://safeweb.norton.com/report/show?url=www.Teamfrancetriple.com" target="_blank">
                                    <img id="NortonSafeWeb" src="#" title="Norton-Secured" alt="Norton-Secured" style="border-radius: 8px;" /></a>
                            </span>
                        </p>
                        @*RevolverMap*@
                        <p class="center" style="border-radius: 8px;">
                            <script type="text/javascript" src="http://jh.revolvermaps.com/2/1.js?i=7z28pzgqi7b&amp;s=300&amp;m=5&amp;v=true&amp;r=false&amp;b=111111&amp;n=true&amp;c=00a100" async="async"></script>
                        </p>
                    </section>
                </td>
                <td id="colright">
                    @*Gravatar*@
                    <span>
                        @if (Request.IsAuthenticated)
                        {
                            <a style="margin:0;padding:0;" href="/Account/UserProfileEdit" title="@CloudFranceTriple.WebRole.Properties.Resources.UserProfileManageTitle">
                                <img src="@ViewBag.GravatarImageUrl" alt="@ViewBag.GravatarImageAlt" width="160" style="padding: 0;margin-bottom:0px; border-radius: 8px;" />
                            </a>
                        }
                        else
                        {
                            <a style="margin:0;padding:0;" href="/Account/Login" title="@CloudFranceTriple.WebRole.Properties.Resources.LoginLoginButton">
                                <img src="@ViewBag.GravatarImageUrl" alt="@ViewBag.GravatarImageAlt" width="160"  style="padding: 0;margin-bottom:0px; border-radius: 8px;" />
                            </a>
                        }
                    </span>
                    @if (User.Identity.IsAuthenticated)
                    {
@*BirthdayItem*@
                        <span>
                            @Html.Action("BirthdayItem", "Home", new { area = "" })
                        </span>
@*LastConnectedItem*@
                        <span>
                            @Html.Action("LastConnected", "Home", new { area = "" })
                        </span>
                    }
                </td>
            </tr>
        </tbody>
    </table>
</section>
<section style="padding: 4px;">
    @Html.Action("PollItem")
</section>
@Html.Action("ShowNews", "News", new { area = "Portail" })
<div style="margin: 0 auto 0 auto; width: 240px;">
    <script type="text/javascript">
        window.___gcfg = { lang: 'fr' };

        (function () {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/plusone.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        })();
    </script>
    <g:plusone annotation="inline"></g:plusone>
    <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.teamfrancetriple.com%2F&amp;width=200&amp;height=21&amp;colorscheme=dark&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=false&amp;appId=538027429578779" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: 200px; height: 21px;" allowtransparency="true"></iframe>
    <br />
    <iframe allowtransparency="true" frameborder="0" scrolling="no"
        src="//platform.twitter.com/widgets/follow_button.html?screen_name=teamfrtrpl&lang=fr"
        style="width: 200px; height: 20px;"></iframe>
</div>
<br />
<script type="text/javascript">
    $("#Banner_FrTrpl").css("display", "none");
    $(document).ready(
        function () {
            loadNortonSafeWeb();
            loadNoCheatLogo();
            $("#Banner_FrTrpl").toggle("explode", 1000);
        });
    function loadNortonSafeWeb() {
        var banner = document.getElementById("NortonSafeWeb");
        banner.src = "http://s19.postimage.org/qnquxj9i7/Norton_Secured.png";
    }
    function loadNoCheatLogo() {
        var banner = document.getElementById("NoCheat");
        banner.src = "http://s19.postimage.org/wfspz3q3j/nocheat.gif";
    }
</script>
